package com.yishusmt.wechatapi.wechatdev.mapper;

import com.yishusmt.wechatapi.wechatdev.dto.response.PictureRes;
import com.yishusmt.wechatapi.wechatdev.dto.response.SupplierRes;
import com.yishusmt.wechatapi.wechatdev.entity.SupplierCountEntity;
import com.yishusmt.wechatapi.wechatdev.entity.SupplierPictureEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierPictureInfoMapper {

    /**
     * 返回加工厂列表
     *
     * @param supplierCountEntity
     * @return
     */
    List<SupplierRes> supplierList(SupplierCountEntity supplierCountEntity);

    /**
     * 获取加工厂图片
     *
     * @param id
     * @return
     */
    List<PictureRes> selectPicture(Long id);
}